﻿using System;
using Microsoft.Xna.Framework;

namespace Terraria.ModLoader
{
	// Token: 0x020001C9 RID: 457
	internal class ConsoleCommandCaller : CommandCaller
	{
		// Token: 0x17000161 RID: 353
		// (get) Token: 0x06001304 RID: 4868 RVA: 0x0000FB8B File Offset: 0x0000DD8B
		public CommandType CommandType
		{
			get
			{
				return CommandType.Console;
			}
		}

		// Token: 0x17000162 RID: 354
		// (get) Token: 0x06001305 RID: 4869 RVA: 0x0000D858 File Offset: 0x0000BA58
		public Player Player
		{
			get
			{
				return null;
			}
		}

		// Token: 0x06001306 RID: 4870 RVA: 0x0040F088 File Offset: 0x0040D288
		public void Reply(string text, Color color = default(Color))
		{
			foreach (string value in text.Split(new char[]
			{
				'\n'
			}))
			{
				Console.WriteLine(value);
			}
		}
	}
}
